package com.moyu.article.domain.board.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author 赵彦博
 * @Date 2025/3/29 21:54
 */
@Data
public class BatchSortUpdateDTO {

    @NotNull(message = "标签ID不能为空")
    private String boardId;

    @NotNull(message = "排序值不能为空")
    @Min(value = 1, message = "排序值最小为1")
    private Integer sort;
}
